Add marker AITool for enabling code interpreters#5898
Merged
stephentoub merged 3 commits intodotnet:mainfrom Feb 14, 2025
Merged
Add marker AITool for enabling code interpreters#5898stephentoub merged 3 commits intodotnet:mainfrom
stephentoub merged 3 commits intodotnet:mainfrom
Conversation
stephentoub
commented
Feb 13, 2025
stephentoub
commented
Feb 13, 2025
...ibraries/Microsoft.Extensions.AI.Abstractions/ChatCompletion/ChatResponseUpdateExtensions.cs
Show resolved
Hide resolved
src/Libraries/Microsoft.Extensions.AI.Abstractions/CodeInterpreterTool.cs
Show resolved
Hide resolved
8efc6c6 to
f8e1085
Compare
src/Libraries/Microsoft.Extensions.AI.Abstractions/CodeInterpreterTool.cs
Show resolved
Hide resolved
f8e1085 to
c2f4dde
Compare
Member
Author
|
@SteveSandersonMS, @eiriktsarpalis, please take a look at the changes to AIFunction / AITool. Thanks. |
Collaborator
🎉 Good job! The coverage increased 🎉
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=951977&view=codecoverage-tab |
src/Libraries/Microsoft.Extensions.AI.Abstractions/CodeInterpreterTool.cs
Outdated
Show resolved
Hide resolved
Various AI services (Gemini, Bedrock, OpenAI, etc.) now support server-side code interpreting, where the model can generate code it can then execute in a sandbox. For good reason, they all require opting in. We can model that well as an AITool-derived type.
c2f4dde to
a19dca3
Compare
Collaborator
🎉 Good job! The coverage increased 🎉
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=952853&view=codecoverage-tab |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Various AI services (Gemini, Bedrock, OpenAI, etc.) now support server-side code interpreting, where the model can generate code it can then execute in a sandbox. For good reason, they all require opting in. We can model that well as an AITool-derived type.
Microsoft Reviewers: Open in CodeFlow